package com.thermofisher.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.thermofisher.beans.EmailRecord;
import com.thermofisher.mapper.EmailRecordMapper;
import com.thermofisher.service.EmailRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author py
 * @since 2020-01-13
 */
@Service
public class EmailRecordServiceImpl extends ServiceImpl<EmailRecordMapper, EmailRecord>
        implements EmailRecordService
{
    @Autowired
    private EmailRecordMapper emailRecordMapper;

    public List<EmailRecord> getAnsweredEmail()
    {
        return emailRecordMapper.getAnsweredEmail();
    }
}
